#pragma once

#define MSG_QUERY_PLAYER_MSG( hdr )	\
	Player * pl = PM()->getPlayer( hdr._pid );	\
	if ( pl == nullptr )	\
		return;

#define MSG_QUERY_SERVER_MSG( hdr )	\
	ServerClient * sc = SCM()->getServerClient( static_cast<UInt32>(hdr._pid) );	\
	if ( sc == nullptr )	\
		return;